import 'package:flutter/material.dart';

class BgPage extends StatefulWidget {
  String bg;
  String logo;
  BgPage({super.key, required this.bg, required this.logo});

  @override
  State<BgPage> createState() => _BgPageState();
}

class _BgPageState extends State<BgPage> {
  @override
  Widget build(BuildContext context) {
    return SizedBox.expand(
      child: Stack(
        children: [
          Positioned.fill(child: Image.asset(widget.bg, fit: BoxFit.cover)),
          Positioned.fill(child: Image.asset(widget.logo))
        ],
      ),
    );
  }
}
